<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/12/19
 * Time: 21:47
 */
namespace App\Http\Controllers\BackendApi;

use App\Services\BackendApi\BankCardService;
use Illuminate\Http\Request;

class BankCardController extends ApiController
{
    protected $bankCardService;

    public function __construct(BankCardService $bankCardService)
    {
        $this->bankCardService = $bankCardService;
    }

    public function getList(Request $request)
    {
        return $this->bankCardService->getList($request);
    }
}